﻿using AutoDeployForSims.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AutoDeployForSims.Entity
{
    public class CANTotalInfoEntity : ViewModelBase
    {
        public string Title { get; set; }//tabItenName
        public string CommIP { get; set; }//CAN通讯IP
        public string CommPort { get; set; }//通讯端口号
        public string CANAddress { get; set; }//CAN地址
        public string MoudleId { get; set; }//分机号
        private ToolTypeNames toolTypeName;//模拟器类型
        public ToolTypeNames ToolTypeName
        {
            get { return toolTypeName; }
            set
            {
                toolTypeName = value;
                RaisePropertyChanged("ToolTypeName");
            }
        }

        private List<CANInfoEntity> moudleNameList;//设备模拟量列表
        public List<CANInfoEntity> MoudleNameList
        {
            get { return moudleNameList; }
            set { moudleNameList = value; RaisePropertyChanged("MoudleNameList"); }
        }

        public CANTotalInfoEntity()
        {
            moudleNameList = new List<CANInfoEntity>();
        }
    }
}
